export interface category {
    id:number;
    name:string
}

//服务器返回数据类型
export type categoryResponseData = category[]

// 定义属性值类型
export interface attrValueModel {
    id?:number,
    attrId?:number,
    flag?:boolean,
    valueName:string
}

// 定义装属性值的数组
export type attrValueListModel=attrValueModel []

// 定义属性类型
export interface attrModel{
    attrName:string,
    categoryId: number|string,
    categoryLevel: number,
    id?:number,
    attrValueList:attrValueListModel
}

//定义服务器返回数据类型
export type attrResponseData = attrModel[]